<template>
  <div class="hello">
    <h1>这是页面2222222222</h1>
    <input type="text" id="list" v-model='value' />
    <button @click='out'>点击我</button>
  </div>
</template>

<script>
export default {
  name: 'hello',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App',
      value:'22222222'
    }
  },
   mounted:function(){
   	console.log('2222222222')
   },
   methods:{
  	out:function(){
  		console.log(this.value)
  	}
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
	.hello{
		background-color: yellow;
	}
h1, h2 {
  font-weight: normal;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  display: inline-block;
  margin: 0 10px;
}

a {
  color: #42b983;
}
</style>
